#home_wrap {
    padding: 10px;
}

.home_head {
    margin-bottom: 10px;
}

.home_nickname {
    font-size: 40px;
    line-height: 40px;
    font-family: Microsoft Yahei;
}

.home_uid {
    font-size: 20px;
    line-height: 40px;
    font-weight: bold;
}

.home_uid_label {
    visibility: hidden;
}

#home_tab {
    margin-bottom: 10px;
}

#home_tab li {
    background: #EEE;
    margin-right: 5px;
    -webkit-border-radius: 4px 4px 0 0;
       -moz-border-radius: 4px 4px 0 0;
            border-radius: 4px 4px 0 0;       
}

#home_tab li a {
    margin-right: 0;
}

#home_tab li a:hover {
    border-color: #AC58FA #AC58FA #EEE #AC58FA;   
}

#portal_sidebar {
    float: left;
    width: 130px;
    min-width: 128px;
    margin-left: 30px;
}

#portal_profile {
    font-size: 12px;
}

#portal_profile a {
    width: 62px;
    text-align: center;
}

#portal_profile_info {
    float: left;
}

#portal_profile_private {
    float: right;
}

#portal_avatar {
    margin-bottom: 20px;
}

#portal_content {
    float: left;
    min-width: 200px;
    margin-left: 20px;
}

#portal_sub_menu ul::before {
    display: table;
    line-height: 0;
    content: "";
}

#portal_sub_menu li {
    float: left;
    margin-right: 2px;
    padding: 5px 12px;
}

#portal_sub_menu li:hover {
    background: #EEE;
    border-bottom: 2px solid red;
}

#portal_sub_menu a {
    text-decoration: none;
}

#protal_sub_menu a:hover {
    color: #005580
}

.info_line {
    line-height: 30px;
}

.info_label {
    float: left;
    width: 100px;
    text-align: right;
}

.info_content {
    margin-left: 120px; /* should be 20px bigger than width of .info_label */
    height: 30px;
}

.album .thumbnail:hover {
    border: 1px solid #AC58FA;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.4);
       -moz-box-shadow: 0 1px 5px rgba(0,0,0,.4);
            box-shadow: 0 1px 5px rgba(0,0,0,.4);
}
.album_photo {
    width: 220px;
    height: 165px;
    line-height: 165px;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.album_photo:hover {
    opacity: .8;
}
.album_photo img {
    vertical-align: middle;
}
.album_count {
    position: absolute;
    right: 5px;
    bottom: 0;
    line-height: 20px;
    height: 22px;
    width: 60px;
    color: white;
    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
    background: url("../img/album_count.png");
}
.album_caption {
    margin-top: 5px;
    padding: 9px;
    padding-top: 3px;
    color: #555;
    border-top: 1px solid #DDD;
}
.album_caption a {
    text-decoration: none;
}
.album_caption p {
    margin-bottom: 0;
}

[rel*=trunc-]:hover:after {
    width: 196px; /* 202 - 3*2 */
}